package com.nt.thah.dao;

import com.nt.thah.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 订单明细表
 * @author: ls
 * @Date: 2020-08-07 17:44:23
 */
@Mapper
public interface OrderDetailDao {

    List<OrderDetail> getOrderDetail(Integer orderId);

    int batchSaveOrderDetail(List<OrderDetail> detailList);

    List<OrderDetail> batchGetOrderDetail(List<Integer> orderIdList);

    List<Integer> getOrderDetailByValue(@Param("itemKey") String itemKey, @Param("itemValue") String itemValue);
}
